package com.xxx.system.service;

import com.xxx.system.domain.Dict;
import com.xxx.system.domain.DictItem;
import com.xxx.system.query.DictItemQuery;
import com.xxx.system.query.DictQuery;

import java.util.List;

/**
 * @author BoWei Wang
 * @date 2025/8/5
 */
public interface IDictItemService {
    List<DictItem> findAll();

    DictItem findOne(Long id);

    List<DictItem> queryPage(DictItemQuery dictItemQuery);

    void addDictItem(DictItem dictItem);

    void updateDictItem(DictItem dictItem);

    void deleteDictItem(Long id);

    void batchDeleteDictItems(Long[] ids);

    List<DictItem> getByDictId(Long dictId);
}
